﻿@model IFPRJ.EF.Model.News

@{
    ViewBag.Title = "新增";
    string skin = IFPRJ.Web.MvcApplication.GetSkins();
    Layout = "~/Themes/" + skin + "/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<script type="text/javascript" src="/fckeditor2.3.6/fckeditor.js"></script>

@using (Html.BeginForm()) { 
   



<table id="top1" width="100%"  border="0" cellpadding="0" cellspacing="0" class="toptable">
        <tr>
          <td style="height:1px;" colspan="2"></td>
        </tr>
        <tr>
          <td class="sysmain_navi"  style="width:30%;PADDING-LEFT: 14px">新闻管理</td>
          <td class="topnavichar"  style="width:70%;PADDING-LEFT: 14px" >
              <div align="left">
              <a href="../main.aspx" class="topnavichar" target="sys_main">首页</a>
              <img alt="" src="../../sysImages/folder/navidot.gif" border="0" />
              <a href="news_list.aspx" class="topnavichar" target="sys_main">新闻管理</a>
              <span id="naviClassName"  />
              <img alt="" src="../../sysImages/folder/navidot.gif" border="0" />
              <label id="m_NewsChar"  />
              </div>
          </td>
        </tr>
    </table>


    
    <!-- 这里开始自定义结束-->   
  
    <table width="98%" align="center" border="0" cellpadding="5" cellspacing="1" class="table">
        <tr class="TR_BG_list">
          <td style="width:10%;">类型</td>
          <td style="width:90%;">@Html.RadioButton("newstype","普通")
           <span style="width:100%;" id="SubNewsContentFlag" />
           权重<span class="helpstyle" style="cursor:help;" title="点击显示帮助" onclick="Help('H_News_add_004',this)">帮助</span>           
           </td>
        </tr>
        <tr class="TR_BG_list">
          <td style="width:10%;">@Html.LabelFor(model => model.Title_Long)</td>
          <td style="width:90%;">
            @Html.TextBoxFor(model => model.Title_Long, new { @class = "titlerule" })
            @Html.CheckBox("style_BOND")<strong>B</strong>              
            @Html.CheckBox("style_I")<i>I</i> 
          </td>
        </tr> 
        <tr class="TR_BG_list">
          <td style="width:10%;">@Html.LabelFor(model => model.Title_Short)</td>
          <td style="width:90%;">@Html.TextBoxFor(model => model.Title_Short, new { @class= "titlerule" })
          <span class="helpstyle" style="cursor:help;" title="点击显示帮助" >帮助</span> 
          </td>
        </tr> 
        <tr class="TR_BG_list">
          <td style="width:10%;">@Html.LabelFor(model => model.Description)</td>
          <td style="width:90%;">@Html.TextAreaFor(model => model.Description, new { cols = "80", @class = "description" })
          <span class="helpstyle" style="cursor:help;" title="点击显示帮助" >帮助</span> 
          </td>
        </tr>
        <tr class="TR_BG_list">
          <td style="width:10%;">@Html.LabelFor(model=>model.News_CatoryID)</td>
          <td style="width:90%;">@Html.DropDownList("newscatorylist", (SelectList)this.ViewData["newscatorylist"])
          <span class="helpstyle" style="cursor:help;" title="点击显示帮助" onclick="Help('H_News_add_006',this)">帮助</span> 
           专题 @Html.TextBox("SpecialName")
           
         </td>
        </tr> 
        <tr class="TR_BG_list" id="div_Content">
          <td style="width:10%;" valign="top">@Html.LabelFor(model => model.Context)<br /></td>
          <td style="width:90%;height:300px;" id="EditSizeID">@MvcHtmlString.Create(Html.FckEditor("FckTextBox", new FckConfig {Height="400", Skin = FckSkin.Silver }))</td>
        </tr> 
        <tr class="TR_BG_list" id="div_vURL">
          <td style="width:10%;">@Html.LabelFor(model => model.Pic_Related)</td>
          <td style="width:90%;">@Html.TextBoxFor(model => model.Pic_Related, new { @class = "textboxlong" })</td>
        </tr>
        <tr class="TR_BG_list">
          <td style="width:10%;">属性</td>
          <td style="width:90%;">
                <span id="NewsProperty_CommTF">@Html.CheckBox("isFiles1")允许评论</span>&nbsp;
                <span id="NewsProperty_DiscussTF">@Html.CheckBox("isFiles2")允许创建讨论组</span>&nbsp;
                <span id="NewsProperty_RECTF">@Html.CheckBox("isFiles3")推荐</span>&nbsp;
                <span id="NewsProperty_MARTF">@Html.CheckBox("isFiles4")滚动</span>&nbsp;
                <span id="NewsProperty_HOTTF">@Html.CheckBox("isFiles5")热点</span>&nbsp;
                <span id="NewsProperty_FILTTF" style="display:none;">@Html.CheckBox("isFiles6")幻灯</span>&nbsp;
                <span id="NewsProperty_TTTF">@Html.CheckBox("isFiles7")头条</span>&nbsp;
                <span id="NewsProperty_ANNTF">@Html.CheckBox("isFiles8",true)公告</span>&nbsp;
                <span id="NewsProperty_JCTF">@Html.CheckBox("isFiles9")精彩</span>&nbsp;
                <span id="NewsProperty_WAPTF">@Html.CheckBox("isFiles10")WAP</span>
          </td>
        </tr>  
       
        <tr class="TR_BG_list" id="div_Souce">
          <td style="width:10%;">@Html.LabelFor(model => model.Src)</td>
          <td style="width:90%;">
          @Html.RadioButton("providerType","1")本站
          @Html.RadioButton("providerType", "2")未知
          @Html.RadioButton("providerType", "3")网络来源
          @Html.TextBoxFor(model => model.Src, new { @class = "textboxlong" })
          作者： @Html.TextBox("author", "", new { @class = "textboxshort" })
          </td>
        </tr>  
        <tr class="TR_BG_list" id="div_Tags">
          <td style="width:10%;">标签(Tag)</td>
          <td style="width:90%;">@Html.TextBox("Tags", "", new { @class = "textboxshort" })</td>
        </tr>
        <tr class="TR_BG_list" id="div_Tags">
          <td style="width:10%;"></td>
          <td style="width:90%;"><input type="submit" value="Create" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@Html.ActionLink("Back to List", "Index")</td>
        </tr>
        
    
        </table>
        
        
        

      
         <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg" style="height: 76px">
          <tr>
            <td class="list_link" align="center">CopyRight</td>
          </tr>
        </table>

       
    
    
    
    
    }